package com.sfac.springBoot.modules.test.service.impl;

import com.sfac.springBoot.modules.test.dao.CountryDao;
import com.sfac.springBoot.modules.test.entity.Country;
import com.sfac.springBoot.modules.test.service.CountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CountryServiceImpl implements CountryService {

    @Autowired
    private CountryDao countryDao;

    @Override
    public Country queryById(int countryId) {

        return countryDao.queryById(countryId);
    }
}
